//
//  MarriageProductCell.h
//  BaseProject
//
//  Created by 王洋 on 2020/7/20.
//  Copyright © 2020 王洋. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CommonPackageModel.h"
NS_ASSUME_NONNULL_BEGIN

@interface MarriageProductCell : UICollectionViewCell

@property (weak, nonatomic) IBOutlet UIImageView *mainImageView;

@property (weak, nonatomic) IBOutlet UILabel *mainTitle;

@property (weak, nonatomic) IBOutlet UILabel *priceLab;

@property (weak, nonatomic) IBOutlet UILabel *viewCountLab;

@property (nonatomic, copy) void(^MarriageProductLoginBlock)(void);

+ (CGFloat)calculateHeightWithWidth:(CGFloat)collectionWeidth;

+ (CGFloat)calculateHeightModel:(CommonPackageModel *)model AndWidth:(CGFloat)width;

- (void)fillCellWithModel:(CommonPackageModel *)model;


@end

NS_ASSUME_NONNULL_END
